/*
 * @Author: HeAo
 * @Date: 2021-09-24 11:19:00
 * @LastEditTime: 2021-09-24 12:18:03
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \web2103-2105\web2103\3-1-ES6\day01\src\modules\a.js
 * 别乱动！
 */
export let a = 1;
export function count () {
  console.log(++a);
}
let firstname = 'zhang'
let lastname = 'xiaoxiao'

export let obj = {
  name: 'zhangsan'
}
// setTimeout(() => {
//   obj.name = "李四"
// }, 1000)


export { firstname as first, lastname as last }
// 模块内部的默认导出，有且只能有一个
export default function add () {
  console.log('default 导出');
}

console.log('a.js', firstname + lastname);

